/**
 * Created by lichong on 2/22/2018.
 */

import React from 'react';

import HttpUtils from '../../../utils/HttpUtils';

class ProductAttributes extends React.Component {
    state = {
        attributes : [],
    };

    componentDidMount () {
        var self = this;
        HttpUtils.getProductAttributes({id : '1'} , {
            success : function (response) {
                self.setState({attributes : response.data})
            }
        })
    }

    render() {
        return (
            <div>
                {this.state.description}
            </div>
        );
    }
}
export default ProductAttributes;